/* *{
   outline: solid red 1px; 
}
*/   
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #2e96ac;
  --navy-light: #185e6e;
  --yellow: #f5c400;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #eef0f4;
  --gray-400: #8a95a3;
  --gray-600: #4a5568;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(26,45,74,0.08);
  --shadow-lg: 0 8px 32px rgba(26,45,74,0.13);
}
body { font-family: var(--font-body); background: #f4f6f9; color: var(--gray-600); }

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem); height: 72px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.logo { 
  display: flex; 
  flex-direction: column; 
  line-height: 1.1; 
  text-decoration: none; 
  align-items: flex-start; /* Alinea la imagen a la izquierda */
}

.logo-img { 
  height: 45px; /* Ajusta según el tamaño de tu logo */
  width: auto; 
  display: block;
  margin-bottom: 0.25rem; /* Espacio entre logo y subtítulo */
}

.logo-sub { 
  font-size: 0.65rem; 
  letter-spacing: 0.18em; 
  text-transform: uppercase; 
  color: var(--gray-400); 
  margin-left: 0; /* Ajusta si necesitas alinear */
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); text-decoration: none; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width 0.25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn-cta { padding: 0.55rem 1.4rem; background: var(--navy); color: var(--white); border-radius: 6px; font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-cta:hover { background: var(--navy-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-nav { display: none; position: fixed; inset: 72px 0 0; background: rgba(255,255,255,0.98); flex-direction: column; padding: 2rem; gap: 1.5rem; z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 600; color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.75rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb svg { width: 12px; height: 12px; stroke: var(--gray-100); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.breadcrumb span { color: var(--navy); font-weight: 600; }

/* ── HERO ── */
.hero {
    position: relative;
    height: 90svh;
    min-height: 540px;
    overflow: hidden;
}

/* Slides */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 60%;
    transform: scale(1.07);
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .slide-bg {
    transform: scale(1.00);
    transition: transform 7s ease-out;
}
.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,22,40,0.72) 0%, rgba(10,22,40,0.45) 55%, rgba(10,22,40,0.10) 100%);
}

/* Slide text */
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 4rem)
            clamp(2rem, 8vw, 9rem);
    padding-top: calc(72px + clamp(1.5rem, 5vw, 4rem));
}
.slide-text {
    max-width: 620px;
    transform: translateY(28px);
    opacity: 0;
    transition: transform 0.75s 0.25s ease, opacity 0.75s 0.25s ease;
}
.slide.active .slide-text {
    transform: translateY(0);
    opacity: 1;
}

.slide-eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem;
}
.slide-title {
    font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    line-height: 1.1; color: var(--white); margin-bottom: 0.75rem;
}
.slide-subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 0.5rem; }
.slide-offer { font-size: clamp(0.9rem, 2vw, 1.05rem); color: var(--yellow); font-weight: 600; margin-bottom: 2rem; }
.slide-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; padding: 0.8rem 2rem;
    background: var(--white); color: var(--navy); border-radius: 6px;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--yellow); transform: translateY(-2px); }
.btn-secondary {
    font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85);
    text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--yellow); border-color: var(--yellow); }

/* Arrows */
.arrow {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 10;
    width: 46px; 
    height: 46px; 
    border-radius: 50%;
    background: rgba(255, 255, 255, 0); 
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    transition: background 0.2s, transform 0.2s;
}
.arrow:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.1); }
.arrow-prev { left: 1.25rem; }
.arrow-next { right: 1.25rem; }
.arrow svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Dots */
.hero-dots { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.dot {
    height: 8px; width: 8px; border-radius: 4px;
    background: rgba(255,255,255,0.35); border: none; cursor: pointer;
    transition: background 0.25s, width 0.3s ease;
    padding: 0;
}
.dot.active { background: var(--white); width: 24px; }

/* Progress bar */
.progress-bar {
    position: absolute; bottom: 0; left: 0; z-index: 10;
    height: 3px; width: 0%; background: var(--yellow);
}
/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── SECTION COMMONS ── */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

/* ── QUÉ OFRECEMOS ── */
.ofrecemos {
  background: #fff;
  padding: 6rem 0 5.5rem;
}
.ofrecemos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.ofrecemos-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.1;
}
.ofrecemos-left h2 span {
  color: var(--yellow);
}
.ofrecemos-right p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 1rem;
}
.ofrecemos-right p strong {
  color: var(--navy);
}
.garantias {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.garantia-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  background: #f8f9fc;
  border-left: 3px solid var(--yellow);
}
.garantia-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.garantia-icon svg {
  width: 18px; height: 18px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.garantia-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.garantia-text span {
  font-size: 0.82rem;
  color: #6b7a8d;
  line-height: 1.4;
}


/* ── HERO STRIP ── */
.page-hero {
  background: var(--navy);
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(245,196,0,0.06);
}
.page-hero-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white); margin-bottom: 0.4rem;
}
.page-hero p { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

/* ── FILTROS ACTIVOS ── */
.filtros-activos-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.75rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.filtros-activos-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-400); margin-right: 0.25rem;
}
.tag-activo {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 20px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.tag-activo:hover { background: #fdecea; border-color: #f5c6c2; color: #b03a2e; }
.tag-activo svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; }
.limpiar-todos {
  margin-left: auto; font-size: 0.78rem; font-weight: 600;
  color: var(--gray-400); text-decoration: none; transition: color 0.2s;
}
.limpiar-todos:hover { color: #b03a2e; }

/* ── LAYOUT PRINCIPAL ── */
.catalogo-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── SIDEBAR ── */
.proyectos-sidebar { position: sticky; top: 88px; }
.proyectos-filtros {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--gray-100);
}
.sidebar-header {
  background: var(--navy); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-header-text { display: flex; align-items: center; gap: 0.6rem; }
.sidebar-header-text svg { width: 16px; height: 16px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-header h2 { font-family: var(--font-display); font-size: 1rem; color: var(--white); font-weight: 600; }
.sidebar-clear { font-size: 0.72rem; color: rgba(255,255,255,0.5); background: none; border: none; cursor: pointer; font-family: var(--font-body); font-weight: 500; text-decoration: underline; padding: 0; transition: color 0.2s; }
.sidebar-clear:hover { color: var(--yellow); }

.filtro-bloque { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--gray-100); }
.filtro-bloque:last-of-type { border-bottom: none; }
.filtro-titulo {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 0.85rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
}
.filtro-titulo svg { width: 13px; height: 13px; stroke: var(--gray-400); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; flex-shrink: 0; }
.filtro-titulo.collapsed svg { transform: rotate(-90deg); }
.filtro-body { overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; max-height: 600px; opacity: 1; }
.filtro-body.collapsed { max-height: 0; opacity: 0; }

.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; stroke: var(--gray-400); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.proyectos-input {
  width: 100%; padding: 0.6rem 0.75rem 0.6rem 2.2rem;
  border: 1.5px solid var(--gray-100); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.85rem; color: var(--navy);
  background: var(--gray-50); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.proyectos-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,45,74,0.08); background: var(--white); }
.proyectos-input::placeholder { color: var(--gray-400); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-option { position: relative; }
.tag-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.tag-option label {
  display: inline-flex; align-items: center; padding: 0.3rem 0.75rem;
  border-radius: 20px; border: 1.5px solid var(--gray-100); background: var(--gray-50);
  font-size: 0.78rem; font-weight: 600; color: var(--gray-600); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s; user-select: none;
}
.tag-option label:hover { border-color: var(--navy); color: var(--navy); }
.tag-option input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white); }

.checkbox-list { display: flex; flex-direction: column; gap: 0.05rem; }
.proyectos-checkbox {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.4rem 0.5rem; border-radius: 6px; cursor: pointer;
  font-size: 0.86rem; color: var(--gray-600); font-weight: 500;
  transition: background 0.15s, color 0.15s; position: relative;
}
.proyectos-checkbox:hover { background: var(--gray-50); color: var(--navy); }
.proyectos-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  width: 16px; height: 16px; border: 1.5px solid var(--gray-100); border-radius: 4px;
  background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.check-box svg { width: 10px; height: 10px; stroke: var(--white); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.15s; }
.proyectos-checkbox input:checked ~ .check-box { background: var(--navy); border-color: var(--navy); }
.proyectos-checkbox input:checked ~ .check-box svg { opacity: 1; }
.proyectos-checkbox input:checked ~ span { color: var(--navy); font-weight: 600; }

.precio-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.6rem; }
.precio-field { display: flex; flex-direction: column; gap: 0.25rem; }
.precio-field label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }
.precio-field input {
  width: 100%; padding: 0.48rem 0.6rem; border: 1.5px solid var(--gray-100);
  border-radius: 7px; font-family: var(--font-body); font-size: 0.84rem; color: var(--navy);
  background: var(--gray-50); outline: none; transition: border-color 0.2s;
}
.precio-field input:focus { border-color: var(--navy); background: var(--white); }
.precio-unit { font-size: 0.72rem; color: var(--gray-400); text-align: center; }

.sidebar-actions { padding: 1.1rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--gray-100); }
.btn-aplicar {
  width: 100%; padding: 0.72rem; background: var(--navy); color: var(--white); border: none;
  border-radius: 8px; font-family: var(--font-body); font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-aplicar:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-aplicar svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.btn-limpiar { width: 100%; padding: 0.55rem; background: none; color: var(--gray-400); border: none; font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: color 0.2s; }
.btn-limpiar:hover { color: var(--navy); }
.resultados-badge {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.5rem; background: #f0f4ff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #4caf82; flex-shrink: 0; }

.checkbox-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 0.5rem;
}

.region-count {
  color: var(--navy);
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  line-height: 1.6;

}

.region-count-empty {
  color: var(--navy);
}

/* Cuando el checkbox está marcado, el badge también cambia */
.proyectos-checkbox input:checked ~ .checkbox-label-wrap .region-count {
  background: var(--yellow);
  color: var(--navy);
}

/* ── COLUMNA PRINCIPAL ── */
.catalogo-main {}

/* Barra superior: resultados + orden */
.catalogo-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.catalogo-total {
  font-size: 0.88rem; color: var(--gray-400); font-weight: 500;
}
.catalogo-total strong { color: var(--navy); font-weight: 700; }
.orden-select {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1.5px solid var(--gray-100); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  color: var(--navy); background: var(--white); cursor: pointer; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a95a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.6rem center;
  transition: border-color 0.2s;
}
.orden-select:focus { border-color: var(--navy); }

/* Grid de proyectos */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Tarjeta */
.proyecto-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column;
}
.proyecto-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(26,45,74,0.12); }
.card-img { position: relative; overflow: hidden; height: 200px; flex-shrink: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proyecto-card:hover .card-img img { transform: scale(1.05); }
.card-img-placeholder { width: 100%; height: 100%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.card-img-placeholder svg { width: 40px; height: 40px; stroke: var(--gray-400); fill: none; stroke-width: 1.5; }

.card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.28rem 0.7rem; border-radius: 20px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-new       { background: var(--yellow); color: var(--navy); }
.badge-available { background: #e6f4ea; color: #2d6a3f; }
.badge-last      { background: #fdecea; color: #b03a2e; }
.badge-sold      { background: var(--gray-100); color: var(--gray-400); }

.card-body { padding: 1.2rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-location { display: flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--gray-400); margin-bottom: 0.4rem; font-weight: 500; }
.card-location svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.card-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.35rem; line-height: 1.2; }
.card-desc { font-size: 0.82rem; color: var(--gray-400); line-height: 1.55; margin-bottom: 1rem; flex: 1; }

.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--gray-100); padding-top: 0.9rem; margin-top: auto; }
.card-price-label { font-size: 0.66rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.card-price-value { font-size: 1rem; font-weight: 700; color: var(--navy); }
.card-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 1rem; background: var(--navy); color: var(--white);
  border-radius: 6px; font-size: 0.76rem; font-weight: 600; text-decoration: none;
  letter-spacing: 0.04em; transition: background 0.2s, transform 0.15s;
}
.card-cta:hover { background: var(--navy-light); transform: translateY(-1px); }
.card-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Sin resultados */
.sin-resultados {
  grid-column: 1 / -1; text-align: center;
  padding: 4rem 2rem; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--gray-100);
}
.sin-resultados svg { width: 48px; height: 48px; stroke: var(--gray-100); fill: none; stroke-width: 1.5; margin-bottom: 1rem; }
.sin-resultados h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.sin-resultados p { font-size: 0.9rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.sin-resultados a { display: inline-flex; padding: 0.65rem 1.5rem; background: var(--navy); color: var(--white); border-radius: 8px; font-size: 0.84rem; font-weight: 600; text-decoration: none; }

/* ── PAGINADOR ── */
.paginador {
  display: flex; align-items: center; justify-content: center;
  gap: 0.35rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.paginador a, .paginador span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 0.5rem;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.paginador a { background: var(--white); color: var(--navy); border: 1.5px solid var(--gray-100); }
.paginador a:hover { background: var(--gray-50); border-color: var(--navy); }
.paginador .current { background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); }
.paginador .disabled { color: var(--gray-100); background: var(--white); border: 1.5px solid var(--gray-100); cursor: default; pointer-events: none; }
.paginador .ellipsis { color: var(--gray-400); border: none; background: none; cursor: default; }
.paginador svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }



/* CONTACT */

.propiedades-body{
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f4f4;
}

/* contenedor principal */

.propiedades-contact-wrapper{
    width:100%;
    padding:120px 20px 60px 20px; /* gap superior para navbar */
    display:flex;
    justify-content:center;
}

/* tarjeta */

.propiedades-contact-card{
    background:white;
    width:100%;
    max-width:650px;
    padding:40px;
    border-radius:8px;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
}

/* logo */

.propiedades-logo{
    text-align:center;
    margin-bottom:25px;
}

.propiedades-logo img{
    max-width:150px;
}

/* titulos */

.propiedades-title{
    text-align:center;
    font-size:28px;
    margin-bottom:10px;
}

.propiedades-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:35px;
}

/* campos */

.propiedades-field{
    margin-bottom:20px;
}

.propiedades-field label{
    display:block;
    font-size:14px;
    margin-bottom:8px;
}

/* inputs */

.propiedades-form input,
.propiedades-form select,
.propiedades-form textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:14px;
}

.propiedades-form textarea{
    height:110px;
    resize:none;
}

/* radios */

.propiedades-radio-group{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.propiedades-radio{
    font-size:14px;
    display:flex;
    align-items:center;
    gap:6px;
}

/* boton */

.propiedades-submit{
    background:black;
    color:white;
    border:none;
    padding:14px 22px;
    border-radius:6px;
    cursor:pointer;
    font-size:14px;
    margin-top:10px;
}

.propiedades-submit:hover{
    opacity:0.9;
}

/* responsive tablets */

@media (min-width:768px){

.propiedades-contact-card{
    max-width:750px;
}

}

/* pantallas grandes */

@media (min-width:1200px){

.propiedades-contact-card{
    max-width:900px;
    padding:55px;
}

.propiedades-title{
    font-size:32px;
}

}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .btn-cta { display: none; }
    .hamburger { display: flex; }
    .slide-text { max-width: 100%; }
    .arrow { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
    .slide-title { font-size: 2rem; }
    .arrow-prev { left: 0.5rem; }
    .arrow-next { right: 0.5rem; }
}
@media (max-width: 1024px) {
  .proyectos-layout {
    grid-template-columns: 1fr;
  }

  .proyectos-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
      .ofrecemos-inner { grid-template-columns: 1fr; }
    }

/* ── PROYECTOS DESTACADOS ── */
.proyectos {
  background: #f4f6f9;
  padding: 6rem 0 6rem;
}
.proyectos-header {
  text-align: center;
  margin-bottom: 3rem;
}
.proyectos-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.proyectos-header p {
  font-size: 1rem;
  color: #6b7a8d;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proyecto-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,45,74,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.proyecto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,45,74,0.14);
}
.proyecto-card.featured {
  grid-column: span 2;
}

.card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.proyecto-card.featured .card-img {
  height: 280px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proyecto-card:hover .card-img img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-new { background: var(--yellow); color: var(--navy); }
.badge-available { background: #e6f4ea; color: #2d6a3f; }
.badge-last { background: #fdecea; color: #b03a2e; }

.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #8a95a3;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.card-location svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.card-desc {
  font-size: 0.85rem;
  color: #6b7a8d;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eef0f4;
  padding-top: 1rem;
}
.card-price {
  display: flex;
  flex-direction: column;
}
.card-price-label {
  font-size: 0.7rem;
  color: #8a95a3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-price-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: inherit;
}
.card-cta:hover { background: var(--navy-light); transform: translateY(-1px); }
.card-cta svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.proyectos-cta {
  text-align: center;
  margin-top: 3rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border: 2px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .proyectos-grid { grid-template-columns: 1fr 1fr; }
  .proyecto-card.featured { grid-column: span 2; }
}
@media (max-width: 600px) {
  .proyectos-grid { grid-template-columns: 1fr; }
  .proyecto-card.featured { grid-column: span 1; }
  .proyecto-card.featured .card-img { height: 220px; }
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(245,196,0,0.07);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-banner-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}
.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
}
.btn-yellow:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: #fff; transform: translateY(-2px); }

@media (max-width: 700px) {
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
}

@media (max-width: 1024px) {
  .catalogo-wrap { grid-template-columns: 240px 1fr; }
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .catalogo-wrap { grid-template-columns: 1fr; }
  .proyectos-sidebar { position: static; }
  .sidebar-toggle-btn {
    display: flex; width: 100%; padding: 0.75rem 1rem;
    background: var(--white); border: 1.5px solid var(--gray-100);
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 600; color: var(--navy); cursor: pointer;
    align-items: center; gap: 0.5rem; margin-bottom: 1rem;
  }
  .sidebar-toggle-btn svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; }
  .sidebar-collapsible { display: none; }
  .sidebar-collapsible.open { display: block; }
}
@media (min-width: 769px) {
  .sidebar-toggle-btn { display: none; }
  .sidebar-collapsible { display: block !important; }
}
@media (max-width: 520px) {
  .proyectos-grid { grid-template-columns: 1fr; }
}
/* ── LAYOUT ── */
.detalle-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

/* ════════════════════════════
    COLUMNA IZQUIERDA
════════════════════════════ */
.detalle-main {}

/* ── Galería ── */
.galeria {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 2rem;
}
.galeria-principal {
  position: relative;
  height: clamp(280px, 45vw, 500px);
  overflow: hidden;
  cursor: zoom-in;
}
.galeria-principal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.galeria-principal:hover img { transform: scale(1.03); }
.galeria-principal-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
}
.galeria-principal-placeholder svg { width: 60px; height: 60px; stroke: var(--gray-400); fill: none; stroke-width: 1.2; }

.badge-detalle {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-new       { background: var(--yellow); color: var(--navy); }
.badge-available { background: #e6f4ea; color: #2d6a3f; }
.badge-last      { background: #fdecea; color: #b03a2e; }
.badge-sold      { background: var(--gray-100); color: var(--gray-400); }

/* Thumbnails */
.galeria-thumbs {
  display: flex; gap: 0.5rem;
  padding: 0.5rem;
  overflow-x: auto;
  background: var(--white);
  scrollbar-width: thin;
  scrollbar-color: var(--gray-100) transparent;
}
.galeria-thumbs::-webkit-scrollbar { height: 4px; }
.galeria-thumbs::-webkit-scrollbar-thumb { background: var(--gray-100); border-radius: 2px; }
.thumb {
  flex-shrink: 0;
  width: 72px; height: 56px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.65;
}
.thumb.active { border-color: var(--navy); opacity: 1; }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Info principal ── */
.detalle-info {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.detalle-meta {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.detalle-tipo {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--yellow);
  background: rgba(245,196,0,0.1); padding: 0.25rem 0.75rem; border-radius: 20px;
}
.detalle-ubicacion {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; color: var(--gray-400); font-weight: 500;
}
.detalle-ubicacion svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.detalle-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy); line-height: 1.1; margin-bottom: 1rem;
}
.detalle-descripcion {
  font-size: 0.95rem; line-height: 1.75; color: var(--gray-600);
}

/* ── Características ── */
.detalle-caracteristicas {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.seccion-titulo {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--navy); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
  display: flex; align-items: center; gap: 0.5rem;
}
.seccion-titulo svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; }

/* Stats destacadas */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1.5rem;
}
.stat-item {
  text-align: center; padding: 1rem;
  background: var(--gray-50); border-radius: 10px;
  border: 1px solid var(--gray-100);
}
.stat-valor { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); }

/* Lista de características */
.caract-lista {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
.caract-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50); border-radius: 8px;
  border: 1px solid var(--gray-100);
}
.caract-icono {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--navy); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.caract-icono svg { width: 15px; height: 15px; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; }
.caract-nombre { font-size: 0.72rem; color: var(--gray-400); font-weight: 500; display: block; }
.caract-valor  { font-size: 0.88rem; color: var(--navy); font-weight: 600; display: block; }

/* ── Mapa ── */
.detalle-mapa {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.mapa-placeholder {
  border-radius: 8px; overflow: hidden;
  background: var(--gray-100);
  height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: var(--gray-400);
  border: 2px dashed var(--gray-100);
}
.mapa-placeholder svg { width: 32px; height: 32px; stroke: var(--gray-400); fill: none; stroke-width: 1.5; }
.mapa-placeholder p { font-size: 0.82rem; font-weight: 500; }
/* Si tienes lat/lng reales, reemplaza con un iframe de Google Maps o Leaflet */
{% comment %}
.mapa-iframe { width: 100%; height: 260px; border-radius: 8px; border: none; }
{% endcomment %}

/* ════════════════════════════
    COLUMNA DERECHA (sidebar)
════════════════════════════ */
.detalle-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Card de precio y CTA ── */
.precio-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.precio-card-header {
  background: var(--navy); padding: 1.5rem;
}
.precio-card-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.35rem; }
.precio-card-valor {
  font-family: var(--font-display); font-size: 2rem; color: var(--white); font-weight: 700; line-height: 1;
}
.precio-card-valor span { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.6); margin-left: 0.35rem; }
.precio-card-hasta { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

.precio-card-body { padding: 1.5rem; }

.contacto-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }
.form-input {
  padding: 0.62rem 0.85rem;
  border: 1.5px solid var(--gray-100); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--navy);
  background: var(--gray-50); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,45,74,0.08); background: var(--white); }
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { resize: vertical; min-height: 90px; }
.proyecto-hidden { display: none; }

.btn-consultar {
  width: 100%; padding: 0.85rem;
  background: var(--navy); color: var(--white); border: none;
  border-radius: 8px; font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.2s, transform 0.15s; margin-top: 0.25rem;
}
.btn-consultar:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-consultar svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.btn-whatsapp {
  width: 100%; padding: 0.75rem;
  background: #25d366; color: var(--white); border: none;
  border-radius: 8px; font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none; transition: filter 0.2s, transform 0.15s;
}
.btn-whatsapp:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-whatsapp svg { width: 16px; height: 16px; fill: var(--white); }

.divider-o {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0.25rem 0;
}
.divider-o::before, .divider-o::after { content: ''; flex: 1; height: 1px; background: var(--gray-100); }
.divider-o span { font-size: 0.72rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

.form-disclaimer { font-size: 0.72rem; color: var(--gray-400); text-align: center; line-height: 1.5; margin-top: 0.25rem; }

/* ── Card de info extra ── */
.info-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.25rem 1.5rem;
}
.info-card-titulo { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.info-list { display: flex; flex-direction: column; gap: 0.6rem; }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.info-row-label { font-size: 0.82rem; color: var(--gray-400); font-weight: 500; }
.info-row-valor { font-size: 0.85rem; color: var(--navy); font-weight: 600; text-align: right; }

/* ── Compartir ── */
.share-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.25rem 1.5rem;
}
.share-titulo { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 0.85rem; }
.share-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; border: 1.5px solid var(--gray-100);
  background: var(--gray-50); color: var(--navy); cursor: pointer; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.share-btn:hover { background: var(--gray-100); border-color: var(--navy); }
.share-btn svg { width: 14px; height: 14px; }
.share-btn.copy-btn svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ════════════════════════════
    PROYECTOS RELACIONADOS
════════════════════════════ */
.relacionados {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 4rem;
}
.relacionados-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.75rem; flex-wrap: wrap; gap: 0.75rem;
}
.relacionados-titulo {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--navy);
}
.relacionados-ver-todos {
  font-size: 0.82rem; font-weight: 600; color: var(--gray-400);
  text-decoration: none; display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s;
}
.relacionados-ver-todos:hover { color: var(--navy); }
.relacionados-ver-todos svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

.relacionados-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}

/* Tarjeta relacionado (reutiliza estilos del catálogo) */
.proyecto-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column; text-decoration: none;
}
.proyecto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; height: 190px; flex-shrink: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proyecto-card:hover .card-img img { transform: scale(1.05); }
.card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--gray-100); }
.card-img-placeholder svg { width: 36px; height: 36px; stroke: var(--gray-400); fill: none; stroke-width: 1.5; }
.card-badge { position: absolute; top: 0.7rem; left: 0.7rem; padding: 0.26rem 0.65rem; border-radius: 20px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-location { display: flex; align-items: center; gap: 0.3rem; font-size: 0.71rem; color: var(--gray-400); margin-bottom: 0.35rem; font-weight: 500; }
.card-location svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.card-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 0.3rem; line-height: 1.2; }
.card-desc { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; margin-bottom: 0.9rem; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--gray-100); padding-top: 0.85rem; margin-top: auto; }
.card-price-label { font-size: 0.64rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.card-price-value { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.card-cta { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.42rem 0.9rem; background: var(--navy); color: var(--white); border-radius: 6px; font-size: 0.74rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.card-cta:hover { background: var(--navy-light); }
.card-cta svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Sin relacionados */
.sin-relacionados {
  grid-column: 1/-1; text-align: center; padding: 3rem;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-100);
  color: var(--gray-400); font-size: 0.9rem;
}

.about {
  background: var(--white);
  padding: 4rem 0;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

/* Columna visual */
.about-visual {
  position: relative;
  height: 520px;
}

.about-img-wrap {
  position: relative;
  width: 85%;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Imagen secundaria superpuesta */
.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tarjeta flotante de estadística */
.about-stat-card {
  position: absolute;
  top: -1.25rem;
  right: 10%;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.about-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-top: 0.3rem;
  max-width: 90px;
  line-height: 1.3;
}

/* Columna de texto */
.about-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.about-texto {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 0.85rem;
}

/* Valores / diferenciadores */
.about-valores {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.about-valor {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-valor-icono {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(245, 196, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-valor-icono svg {
  width: 16px;
  height: 16px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-valor strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.about-valor span {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.45;
}

/* Métricas */
.about-metricas {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.metrica { text-align: center; }
.metrica-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.metrica-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.metrica-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-100);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════
   24. FORMULARIO CTA
══════════════════════════════════════════════════════════════ */

.cta-form {
  background: var(--navy);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

/* Decoración de fondo */
.cta-form::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.05);
}
.cta-form::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-form-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Texto izquierdo */
.cta-form-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-form-subtitulo {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Contacto directo */
.contacto-directo {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacto-directo li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contacto-icono {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-icono svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacto-icono-wsp {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-tipo {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.15rem;
}
.contacto-valor {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.contacto-valor:hover { color: var(--yellow); }

/* Card del formulario */
.cta-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.cta-form-card-titulo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.cta-form-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Fila de dos columnas dentro del form */
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Select (reutiliza .form-input + ajuste) */
select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a95a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

/* Label opcional */
.label-opcional {
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: none;
  letter-spacing: 0;
}


/* ── Responsive 23-24 ── */
@media (max-width: 900px) {
  .about-inner      { grid-template-columns: 1fr; }
  .about-visual     { height: 380px; order: -1; }
  .about-img-wrap   { width: 100%; height: 100%; }
  .about-metricas   { gap: 1.25rem; }
  .cta-form-inner   { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .about-img-secondary { display: none; }
  .about-stat-card     { top: auto; bottom: -1rem; right: 1rem; }
  .cta-form-row        { grid-template-columns: 1fr; }
  .about-metricas      { flex-direction: column; gap: 1rem; }
  .metrica-divider     { width: 60px; height: 1px; }
}


/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .detalle-wrap { grid-template-columns: 1fr 320px; }
}
@media (max-width: 860px) {
  .detalle-wrap { grid-template-columns: 1fr; }
  .precio-card { position: static; }
  .detalle-sidebar { order: -1; }
  .relacionados-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .caract-lista { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .relacionados-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* x things*/

.padding{
  width: 5%;
  color: var(--gray-50);
}

/* Toast notification */
.notif-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  animation: notifSlideIn 0.4s cubic-bezier(.22,1,.36,1);
}

.notif-success {
  background: #f0faf4;
  border: 1.5px solid #4ade80;
  color: #166534;
}

.notif-error {
  background: #fff5f5;
  border: 1.5px solid #f87171;
  color: #991b1b;
}

.notif-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.notif-success .notif-icon { color: #16a34a; }
.notif-error  .notif-icon { color: #dc2626; }

.notif-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.notif-body strong { font-size: 0.95rem; font-weight: 700; }
.notif-body span   { font-size: 0.85rem; opacity: 0.85; }

.notif-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 0 0.2rem;
  color: inherit;
  align-self: flex-start;
}
.notif-close:hover { opacity: 1; }

/* Barra de progreso auto-cierre */
.notif-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 100%;
  background: currentColor;
  opacity: 0.25;
  animation: notifProgress 5s linear forwards;
  transform-origin: left;
}

@keyframes notifSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes notifProgress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}


/* ── Estructura general ── */
.footer {
  background: #0f1c2e;  /* un tono más oscuro que --navy para contraste */
  margin-top: auto;     /* fallback por si no se usa flex en body */
}

/* ── Franja superior ── */
.footer-top {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Logo */
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-logo-main {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-descripcion {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

/* Redes sociales */
.footer-redes {
  display: flex;
  gap: 0.6rem;
}

.footer-red {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.footer-red:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.footer-red svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-red--whatsapp:hover { background: rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.35); }
.footer-red--whatsapp svg { fill: rgba(255,255,255,0.7); stroke: none; }

/* Columnas de navegación */
.footer-col-titulo {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.footer-nav-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-nav-lista a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-nav-lista a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Lista de contacto */
.footer-contacto-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-contacto-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-contacto-lista svg {
  width: 15px;
  height: 15px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contacto-lista a,
.footer-contacto-lista span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s;
}
.footer-contacto-lista a:hover { color: var(--white); }

/* ── Franja inferior ── */
.footer-bottom {
  padding: 1.25rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-legal-sep {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.15);
}

/* ── Botón flotante WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waBounce 2.5s 3s ease-in-out 3;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

@keyframes waBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

/* ── Responsive footer ── */
@media (max-width: 900px) {
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 520px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand        { grid-column: span 1; }
  .footer-descripcion  { max-width: 100%; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .whatsapp-float      { bottom: 1.25rem; right: 1.25rem; width: 46px; height: 46px; }
  .whatsapp-float svg  { width: 22px; height: 22px; }
}